package com.auxgroup.smarthome.enterpriseapi.responsebody;

import com.alibaba.fastjson.JSONObject;

/**
 * 故障以及报警次数报表返回映射
 * Created by Toby Lai on 2017/6/28.
 */
public class FaultAndAlertEventReportResponse extends AbstractErrorBody {
    private String gid;
    private ReportCount count;
    private JSONObject detail;
    private JSONObject location;

    public static class ReportCount {
        int total;
        int resolved;
        int unresolved;

        public int getTotal() {
            return total;
        }

        public void setTotal(int total) {
            this.total = total;
        }

        public int getResolved() {
            return resolved;
        }

        public void setResolved(int resolved) {
            this.resolved = resolved;
        }

        public int getUnresolved() {
            return unresolved;
        }

        public void setUnresolved(int unresolved) {
            this.unresolved = unresolved;
        }
    }

    public String getGid() {
        return gid;
    }

    public void setGid(String gid) {
        this.gid = gid;
    }

    public ReportCount getCount() {
        return count;
    }

    public void setCount(ReportCount count) {
        this.count = count;
    }

    public JSONObject getLocation() {
        return location;
    }

    public void setLocation(JSONObject location) {
        this.location = location;
    }

    public JSONObject getDetail() {
        return detail;
    }

    public void setDetail(JSONObject detail) {
        this.detail = detail;
    }
}
